perm filename MUSIC[UP,DOC]3 blob
sn#166189 filedate 1975-06-27 generic text, type C, neo UTF8
COMMENT ⊗ VALID 00009 PAGES
C REC PAGE DESCRIPTION
C00001 00001
C00002 00002 *8 JAN 74 NEWS LES
C00007 00003 *8 JAN 74 NEWMUS - LOADER TVR
C00009 00004 *8 JAN 74 NEWMUS Input specification TVR
C00010 00005 *8 JAN 74 NEWMUS Output specification TVR
C00012 00006 *8 JAN 74 LINEN TVR
C00014 00007 *11 JAN 74 NEWMUS Output Specification TVR
C00015 00008 *3 JUL 74 UDP Mode 117 TVR
C00016 00009 *27 Jun 75 Request for bug reports, suggestions TVR
C00017 ENDMK
C⊗;
*8 JAN 74 NEWS LES
This file is called 'MUSIC[UP,DOC] and serves to save notices, and
record and exchange random ideas or information. Entries should be
similar to NEWS format so that string searches find relevant
information. If an entry is longer than about 30 lines or makes the
page longer that 52 lines, it should start a new page. The format is:
_____________________________________________________________________
Date <tab> Subject <tab> Programmer
<text>
_____________________________________________________________________
Individual entries may be accessed by typing:
.R NEWS;MUSIC[UP,DOC]<return>
[For additional information, see regular NEWS file by typing:
R NEWS<return>?<RETURN>
*8 JAN 74 NEWMUS - LOADER TVR
NEWMUS will now load .REL files! To load a file, type
⊗LOAD<return>
<.rel files><altmode>
Although the LOADER will load anything which doesn't use a segment,
the following will not co-exist well with NEWMUS.
1. Any SAIL program.
2. Any FORTRAN program with uses FORTRAN's I/O facilities.
Otherwise, any FORTRAN subroutine may be used.
The routine should expect to be called with a FORTRAN calling
sequence, i.e.
JSA RA,FOO
<address of arg1>
<address of arg2>
For additional information, see your DEC FORTRAN Manual. [NEWMUS's
LOADER is a modification of the LISP LOADER.]
*8 JAN 74 NEWMUS Input specification TVR
MUS is now the default extension for NEWMUS.
_____________________________________________________________________
*8 JAN 74 NEWMUS Output specification TVR
An output specification may now appear in a file. For example:
PLAY DSK:FOO.1;
Outputs to the file 'FOO.1'. If PLAY is not followed by a space,
it takes an output specification from the teletype as always.
There are now two switch to specify type of output file in NEWMUS.
/BYTESIZE=<number> Sets byte size to <number>
/SOUND Inhibits output of MAXSMP at end of file.
This is for files to go directly to DAC.
For example:
PLAY TEST.SND/BYTESIZE=12/SOUND
Writes a 12 bits sound file which could be played directly on our
DAC. This should reduce the amount of work to generate sound for
other DAC's, such as at CMU.
_____________________________________________________________________
*8 JAN 74 LINEN TVR
Argument list:
1 - Amplitude
2 - Rise time/Total time
3 - Decay time/Total time
4 - Total time
5 - Array
6 - Initial point in array
This function uses a 384 word array in three sections, to generate an
envelope function with separate rise time, intermediate time and
decay time. The rise time and decay time are a function in the
second argument, third argument and the total time. Their values in
seconds may be calculated according to the following formula.
rise time = (arg2/arg4)*P2
decay time = (arg3/arg4)*P2
Examples:
To obtain a rise time of .1 seconds and a decay time of .4 seconds,
LINEN(P4,.1,.4,P2,F1,TMP←0);
To obtain a 10% rise time and a 33.3% decay time,
LINEN(P4,10,33.3,100,F1,TMP←0);
The initial point in array must be a variable and should usually be
zero. (If it is a constant, you will clobber that constant!).
_____________________________________________________________________
*11 JAN 74 NEWMUS Output Specification TVR
You may now specify size of DAC buffer in seconds as follows:
Output: DAC:2.5 or PLAY DAC:2.5;
This allocates enough space for 2.5 seconds.
*3 JUL 74 UDP Mode 117 TVR
The music programs on [1,3] which use the UDP have been patched to OPEN
it in mode 117. If you have any program which use the UDP in old mode
17 and need help converting, see me.
Tovar
*27 Jun 75 Request for bug reports, suggestions TVR
Please let me know if you know of any bugs in the music software or
have any comments, suggestions, complaints, etc. I am going to take
some time off to make the music stuff work with JAM's DAC/ADC
hopefully without spacewar mode. I will also try to fix any old bugs
that may be lurking and I will also open to ideas for new features.